﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Contronller.Interface;

namespace Contronller
{
    public partial class Category : ICategory
    {
        DataTable dt;
        Model.Tbl002_Category category = new Model.Tbl002_Category();
        public DataTable LoadMenu()
        {
            dt = new DataTable();
            dt = category.LoadMenu();
            return dt;
        }
        public DataTable LoadMenuSub(int id)
        {
            dt = new DataTable();
            dt = category.LoadMenuSub(id);
            return dt;
        }
    }
}
